<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"  assembly="FJASPX.Domain" namespace="FJASPX.Domain">
  <class name="Product" table="T_Product" lazy="false">
    <id name="Id"   type="System.Int32" unsaved-value="0">
      <column name="pro_ID" length="4" sql-type="int" not-null="true" unique="true" />
      <generator class="identity"/>
    </id>
    <property name="Property" type="System.String">
      <column name="pro_Property" length="100" sql-type="varchar"/>
    </property>
    <property name="Cid"   type="System.Int32">
      <column name="cid" length="4" sql-type="int"/>
    </property>
    <property name="Area"  type="System.String" >
      <column name="pro_Area" length="100" sql-type="varchar"/>
    </property>
    <property name="Brandid" type="System.Int32">
      <column name="pro_BrandID" length="4" sql-type="int"/>
    </property>
    <property name="Name"  type="System.String">
      <column name="pro_Name"  length="100" sql-type="varchar"/>
    </property>
    <property name="No" type="System.String">
      <column name="pro_NO"  length="100" sql-type="varchar"/>
    </property>
    <property name="ShopPrice" type="System.Decimal">
      <column name="pro_ShopPrice"  length="8" sql-type="float"/>
    </property>
    <property name="MarketPrice"   type="System.Decimal">
      <column name="pro_MarketPrice"  length="8" sql-type="float"/>
    </property>
    <property name="RatingdisCount"  type="System.String" >
      <column name="pro_RatingDiscount"  length="100" sql-type="varchar"/>
    </property>
    <property name="Donateintegral" type="System.Decimal">
      <column name="pro_DonateIntegral"  length="8" sql-type="float"/>
    </property>
    <property name="Thumbnail"   type="System.String">
      <column name="pro_Thumbnail"  length="100" sql-type="varchar"/>
    </property>
    <property name="Images"   type="System.String">
      <column name="pro_Images"  length="100" sql-type="varchar"/>
    </property>
    <property name="Original" type="System.String">
      <column name="pro_Original"  length="100" sql-type="varchar"/>
    </property>
    <property name="Synopsis" type="System.String">
      <column name="pro_Synopsis"  length="3000" sql-type="varchar"/>
    </property>
    <property name="Content"  type="System.String">
      <column name="pro_Content"  length="4000" sql-type="text"/>
    </property>
    <property name="MetaKeywords"   type="System.String">
      <column name="pro_MetaKeywords"  length="200" sql-type="varchar"/>
    </property>
    <property name="MetaDescription" type="System.String">
      <column name="pro_MetaDescription"  length="200" sql-type="varchar"/>
    </property>
    <property name="MetaTitle" type="System.String">
      <column name="pro_MetaTitle"  length="200" sql-type="varchar"/>
    </property>
    <property name="Weight"   type="System.Decimal">
      <column name="pro_Weight"  length="8" sql-type="float"/>
    </property>
    <property name="Stock"  type="System.Int32" >
      <column name="pro_Stock"  length="4" sql-type="int"/>
    </property>
    <property name="Unit"  type="System.String">
      <column name="pro_Unit"  length="200" sql-type="varchar"/>
    </property>
    <property name="Alarm" type="System.Int32">
      <column name="pro_Alarm"  length="4" sql-type="int"/>
    </property>
    <property name="AuditCount"  type="System.Int32">
      <column name="pro_AuditCount"  length="4" sql-type="int"/>
    </property>
    <property name="Audit" type="System.Int32" >
      <column name="pro_Audit"  length="4" sql-type="int"/>
    </property>
    <property name="State" column="pro_State" type="System.Int32">
      <column name="pro_State"  length="4" sql-type="int"/>
    </property>
    <property name="Designation" type="System.String">
      <column name="pro_Designation"  length="200" sql-type="varchar"/>
    </property>

    <property name="RelatingProID"  type="System.String" >
      <column name="pro_RelatingproID"  length="200" sql-type="varchar"/>
    </property>
    <property name="RelatingArtID"   type="System.String" >
      <column name="pro_RelatingArtID"  length="200" sql-type="varchar"/>
    </property>
    <property name="TimeStamp"   type="System.DateTime">
      <column name="pro_CreateTime" length="8" sql-type="datetime" />
    </property>
    <property name="UpdateTime"  type="System.DateTime">
      <column name="pro_UpdateTime" length="8" sql-type="datetime" />
    </property>
    <property name="OnClicks"   type="System.Int32">
      <column name="pro_OnClicks" length="4" sql-type="int" />
    </property>
    <property name="SaleNumber"  type="System.Int32">
      <column name="pro_SaleNum" length="4" sql-type="int" />
    </property>
    <property name="CostPrice"  type="System.Decimal" >
      <column name="pro_CostPrice"  length="8" sql-type="float"/>
    </property>
    <property name="AutoUp"   type="System.DateTime" >
      <column name="pro_AutoUp" length="8" sql-type="datetime" />
    </property>
    <property name="AutoDown"  type="System.DateTime" >
      <column name="pro_AutoDown" length="8" sql-type="datetime" />
    </property>
    <property name="IsAuto"  type="System.Int32">
      <column name="pro_IsAuto" length="4" sql-type="int" />
    </property>

    <property name="SaleType" type="System.Int32" >
      <column name="pro_SaleType" length="4" sql-type="int" />
    </property>
    <property name="IntegralPrice" type="System.Decimal">
      <column name="pro_IntegralPrice"  length="8" sql-type="float"/>
    </property>
    <property name="PutoutID"   type="System.Int32" >
      <column name="pro_PutoutID" length="4" sql-type="int" />
    </property>
    <property name="PutoutType" type="System.Int32">
      <column name="pro_PutoutType" length="4" sql-type="int" />
    </property>
    <property name="ContentTemplate" type="System.String">
      <column name="pro_ContentTemplate" length="2000" sql-type="varchar" />
    </property>
    <property name="Specifications" type="System.String" >
      <column name="pro_Specifications" length="2000" sql-type="text" />
    </property>
    <property name="Parameters" type="System.String" >
      <column name="pro_Parameters" length="2000" sql-type="text" />
    </property>
    <property name="Type"  type="System.Int32">
      <column name="pro_Type" length="4" sql-type="int" />
    </property>
    <property name="SpecialSpecifications"  type="System.String" >
      <column name="pro_Specialspecifications" length="2000" sql-type="varchar" />
    </property>
    <property name="UserId"  type="System.Int32">
      <column name="UserId" length="4" sql-type="int" />
    </property>
    <property name="UserName" type="String">
      <column name="UserName" length="50" sql-type="varchar"/>
    </property>
    <property name="Price" type="String">
      <column name="Price" length="50" sql-type="varchar"/>
    </property>
  </class>
</hibernate-mapping>